#if !defined(AFX_PAINTVIEW_H__3D597586_93E9_4161_ABED_ECA39345CCE5__INCLUDED_)
#define AFX_PAINTVIEW_H__3D597586_93E9_4161_ABED_ECA39345CCE5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PaintView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPaintView view

class CPaintView : public CView
{
protected:
	DECLARE_DYNCREATE(CPaintView)

// Attributes
public:
private:
	HANDLE m_hWriteEvent;
	HANDLE m_hReadEvent;

// Operations
public:
	CPaintView();
	CLc32Doc* GetDocument();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPaintView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CPaintView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(CPaintView)
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in lc32View.cpp
inline CLc32Doc* CPaintView::GetDocument()
   { return (CLc32Doc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PAINTVIEW_H__3D597586_93E9_4161_ABED_ECA39345CCE5__INCLUDED_)
